package xiaoze.veriface.constant;

/**
 * PropertiesConstant
 * @author smirk_xiaoze
 * @date 2018/7/14
 */
public final class PropertiesConstant {

    /**
     * 防止实例化
     */
    private PropertiesConstant() {
    }

    /**
     * Face++旷世平台认证API键值
     */
    public static final String API_KEY = "N8j_5lchMSLKBK2F9b1KTthEnDJykqFs";

    /**
     * Face++旷世平台认证API密码
     */
    public static final String API_SECRET = "IY1LQbLoJKZllVsPCAo2korpNnzv00cm";

    /**
     * 人脸检测地址
     */
    public static final String DETECT_URL = "https://api-cn.faceplusplus.com/facepp/v3/detect";

    /**
     * 人脸对比地址
     */
    public static final String COMPARE_URL = "https://api-cn.faceplusplus.com/facepp/v3/compare";

    /**
     * 该值是识别Face++平台那边是否人脸有检测成功
     */
    public static final String FACE_TOKEN = "face_token";

    /**
    * 人脸对比值，踩过则认为认证成功，否者认证不成功
    */
    public static final Double FACE_NUM = 60.0;

    /**
     * 网络传输失败或未认证Face++返回的值
     */
    public static final String ERROR_MESSAGE = "error_message";

    public static final String AGE = "age";

    /**
     * 本地图片存放位置
     */
    public static final String IMAGE_LOCAL_PATH = "F:\\xiaoze\\Photo\\b.jpg";

    /**
     * 是否返回人脸的关键点，1：返回，0：不返回
     */
    public static final String LANDMARK_NUM = "1";

    /**
     * 目前Face++能检测的人脸属性
     */
    public static final String ATTRIBUTES_NUM = "gender,age,smiling,headpose,facequality,blur,eyestatus,emotion,ethnicity,beauty,mouthstatus,eyegaze,skinstatus";

    /**
     * 图片文件Map的key
     */
    public static final String IMAGE_FILE = "image_file";

}
